import React, { PureComponent } from "react";
import classNames from "classnames";

export class Index extends PureComponent {
  constructor(props) {
    super(props);
    this.state = {
      isbbb: true,
      isccc: true,
    };
  }
  render() {
    const { isbbb, isccc } = this.state;

    return (
      <div>
        <div className={classNames("aaa", { bbb: isbbb })}>hahaha</div>
        <div className={classNames({ [`btn${isccc ? "-c" : ""}`]: true })}>
          hello world
        </div>
      </div>
    );
  }
}

export default Index;
